<?php
 $list_id=$_GET['list_id'];
 
 $sqll="select * from tbl_comment where list_id=$list_id order by id desc";
 $link = mysqli_connect("127.0.0.1","root","","news");
 mysqli_set_charset($link, "utf8");
 $comment1=mysqli_query($link,$sqll);
 if(mysqli_num_rows($comment1)>0){
 	while($raw = mysqli_fetch_assoc($comment1)){
                $results[]=$raw;
		}
		echo json_encode($results);
 }
?>